package com.xiao.xin.core.domain;
import com.baomidou.mybatisplus.annotation.*;
import lombok.Builder;
import lombok.Getter;
import lombok.Setter;

import java.io.Serializable;
import java.time.LocalDateTime;

/**
* <p>
* user_fund 实体类
* </p>
*
* @author Administrator
* @since 2025-07-18 18:56:59
*/
@Getter
@Setter
@Builder
@TableName("user_fund")
public class UserFund implements Serializable {
    private static final long serialVersionUID = 1L;

    /**
    * 主键
    */
    @TableId
    private Long id;

    /**
    * 创建时间
    */
    @TableField(fill = FieldFill.INSERT)
    private LocalDateTime createdTime;

    /**
    * 积分冻结账户
    */
    private Long freezeScore;

    /**
    * 积分账户
    */
    private Long score;

    /**
    * 用户ID
    */
    private Long userId;

    /**
    * 乐观锁
    */
    @Version
    private Long version;


}
